package com.cmsz.bean;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
//@Component
public class StoreConfig {

	@Bean
	@ConditionalOnMissingBean(name = "myStore")
	public IStore getStore(){
		return new Store();
	}
}
